//
//  GoodsDetailSpecTitleView.m
//  BonweBuy
//
//  Created by liuxin on 2020/2/25.
//  Copyright © 2020 liuxin. All rights reserved.
//

#import "GoodsDetailSpecTitleView.h"

@implementation GoodsDetailSpecTitleView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        //添加分隔线
          [self addLineWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 1) color:[UIColor lightGrayColor]];

          //尺码标题
          UILabel *sizeTitleLabel = [UILabel initWithTextStr:@"尺码:" textColor:[UIColor blackColor] fontStr:UIPFRegularFont(15)];
          [self addSubview:sizeTitleLabel];
          [sizeTitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
              make.left.mas_equalTo(kAppWidth_Mini(40));
              make.top.mas_equalTo(kAppWidth_Mini(60));
              make.right.mas_equalTo(-kAppWidth_Mini(50));
              make.height.mas_equalTo(kAppWidth_Mini(30));
          }];
        
    }
    return self;
}

@end
